package com.sgb.kjwl.model.entity.pick;

import com.swgk.core.util.DateUtils;

import java.util.ArrayList;
import java.util.List;

public class PickNoticeDetailEntity {


    /**
     * noticeInfo : {"id":1260760677689769986,"tenderNo":"1260752637213196290","name":"乌市长春路幸福西北嘉园水泥采购","comNo":201908306975959,"comName":"施工邦客服测试","tenderType":3,"tenderTypeName":"商品/材料","supervisor":"","supervisorTel":"","supervisorEmail":null,"remark":"","showEndTime":null,"showEndTimeFlag":0,"showPeriod":null,"showPeriodStr":"","winCompany":"201909187415837","winCompanyName":"新疆建工工程建设有限公司","winTime":1589126400000,"winTimeStr":"2020-05-14 10:35","winPrice":"6000.00"}
     */

    private NoticeInfoBean noticeInfo;

    public NoticeInfoBean getNoticeInfo() {
        return noticeInfo;
    }

    public void setNoticeInfo(NoticeInfoBean noticeInfo) {
        this.noticeInfo = noticeInfo;
    }

    public static class NoticeInfoBean {
        /**
         * id : 1260760677689769986
         * tenderNo : 1260752637213196290
         * name : 乌市长春路幸福西北嘉园水泥采购
         * comNo : 201908306975959
         * comName : 施工邦客服测试
         * tenderType : 3
         * tenderTypeName : 商品/材料
         * supervisor :
         * supervisorTel :
         * supervisorEmail : null
         * remark :
         * showEndTime : null
         * showEndTimeFlag : 0
         * showPeriod : null
         * showPeriodStr :
         * winCompany : 201909187415837
         * winCompanyName : 新疆建工工程建设有限公司
         * winTime : 1589126400000
         * winTimeStr : 2020-05-14 10:35
         * winPrice : 6000.00
         */

        private String id;
        private String tenderNo;
        private String name;
        private String comNo;
        private String comName;
        private int tenderType;
        private String tenderTypeName;
        private String supervisor;
        private String supervisorTel;
        private String supervisorEmail;
        private String remark;
        private String showEndTime;
        private int showEndTimeFlag;
        private String showPeriod;
        private String showPeriodStr;
        private String winCompany;
        private String winCompanyName;
        private String winTime;
        private String winTimeStr;
        private String winPrice;
        private String price;
        private String winRemark;
        private String noticeType;  //1-招标 2-竞价
        private boolean concernEnterprises;
        private int userFocusFlag;
        private String cancelReason;//废标原因
        private String cancelTime;//废标时间
        private int state;
        private boolean winningConcernEnterprises;
        private String no;
        private String score; //综合得分 V2.7.2添加  当值为null的时不显示，不为0的时候显示
        private List<List<TenderDictEntity3>> tenderBidWinNoticeList = new ArrayList<>();  //中标清单 V2.7.2添加，列表不为空时显示，否则不显示
        private String logo;

        private String weixinFenXiangUrl;  //微信分享url
        private String weixinFenXiangMsg;  //微信分享文本

        public String getWeixinFenXiangUrl() {
            return weixinFenXiangUrl;
        }

        public void setWeixinFenXiangUrl(String weixinFenXiangUrl) {
            this.weixinFenXiangUrl = weixinFenXiangUrl;
        }

        public String getWeixinFenXiangMsg() {
            return weixinFenXiangMsg;
        }

        public void setWeixinFenXiangMsg(String weixinFenXiangMsg) {
            this.weixinFenXiangMsg = weixinFenXiangMsg;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public List<List<TenderDictEntity3>> getTenderBidWinNoticeList() {
            return tenderBidWinNoticeList;
        }

        public void setTenderBidWinNoticeList(List<List<TenderDictEntity3>> tenderBidWinNoticeList) {
            this.tenderBidWinNoticeList = tenderBidWinNoticeList;
        }

        private int winType; //中标人类型(1, "企业投标"；2, "个人投标")

        public int getWinType() {
            return winType;
        }

        public void setWinType(int winType) {
            this.winType = winType;
        }

        public String getScore() {
            return score;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public boolean isWinningConcernEnterprises() {
            return winningConcernEnterprises;
        }

        public void setWinningConcernEnterprises(boolean winningConcernEnterprises) {
            this.winningConcernEnterprises = winningConcernEnterprises;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getCancelTime() {
            if (cancelTime == null)
                return "";
            if (!"".equals(cancelTime))
                return DateUtils.stampToMinute(cancelTime) + "";
            return cancelTime;
        }

        public void setCancelTime(String cancelTime) {
            this.cancelTime = cancelTime;
        }

        public String getCancelReason() {
            return cancelReason;
        }

        public void setCancelReason(String cancelReason) {
            this.cancelReason = cancelReason;
        }

        public boolean isConcernEnterprises() {
            return concernEnterprises;
        }

        public void setConcernEnterprises(boolean concernEnterprises) {
            this.concernEnterprises = concernEnterprises;
        }

        public int getUserFocusFlag() {
            return userFocusFlag;
        }

        public void setUserFocusFlag(int userFocusFlag) {
            this.userFocusFlag = userFocusFlag;
        }

        public String getNoticeType() {
            return noticeType;
        }

        public void setNoticeType(String noticeType) {
            this.noticeType = noticeType;
        }

        public String getWinRemark() {
            return winRemark;
        }

        public void setWinRemark(String winRemark) {
            this.winRemark = winRemark;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getTenderNo() {
            return tenderNo;
        }

        public void setTenderNo(String tenderNo) {
            this.tenderNo = tenderNo;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getComName() {
            return comName;
        }

        public void setComName(String comName) {
            this.comName = comName;
        }

        public int getTenderType() {
            return tenderType;
        }

        public void setTenderType(int tenderType) {
            this.tenderType = tenderType;
        }

        public String getTenderTypeName() {
            return tenderTypeName;
        }

        public void setTenderTypeName(String tenderTypeName) {
            this.tenderTypeName = tenderTypeName;
        }

        public String getSupervisor() {
            return supervisor;
        }

        public void setSupervisor(String supervisor) {
            this.supervisor = supervisor;
        }

        public String getSupervisorTel() {
            return supervisorTel;
        }

        public void setSupervisorTel(String supervisorTel) {
            this.supervisorTel = supervisorTel;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public int getShowEndTimeFlag() {
            return showEndTimeFlag;
        }

        public void setShowEndTimeFlag(int showEndTimeFlag) {
            this.showEndTimeFlag = showEndTimeFlag;
        }

        public String getShowPeriodStr() {
            return showPeriodStr;
        }

        public void setShowPeriodStr(String showPeriodStr) {
            this.showPeriodStr = showPeriodStr;
        }

        public String getWinCompany() {
            return winCompany;
        }

        public void setWinCompany(String winCompany) {
            this.winCompany = winCompany;
        }

        public String getWinCompanyName() {
            return winCompanyName;
        }

        public void setWinCompanyName(String winCompanyName) {
            this.winCompanyName = winCompanyName;
        }

        public String getWinTimeStr() {
            return winTimeStr;
        }

        public void setWinTimeStr(String winTimeStr) {
            this.winTimeStr = winTimeStr;
        }

        public String getWinPrice() {
            return winPrice;
        }

        public void setWinPrice(String winPrice) {
            this.winPrice = winPrice;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getComNo() {
            return comNo;
        }

        public void setComNo(String comNo) {
            this.comNo = comNo;
        }

        public String getWinTime() {
            return winTime;
        }

        public void setWinTime(String winTime) {
            this.winTime = winTime;
        }

        public String getSupervisorEmail() {
            return supervisorEmail;
        }

        public void setSupervisorEmail(String supervisorEmail) {
            this.supervisorEmail = supervisorEmail;
        }

        public String getShowEndTime() {
            return showEndTime;
        }

        public void setShowEndTime(String showEndTime) {
            this.showEndTime = showEndTime;
        }

        public String getShowPeriod() {
            return showPeriod;
        }

        public void setShowPeriod(String showPeriod) {
            this.showPeriod = showPeriod;
        }
    }
}
